package crawler01;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * @author raok
 * @create 2022-04-26-23:21
 * 定义存储到Excel的数据格式
 **/
@Getter
@Setter
@EqualsAndHashCode
public class ExcelClass02 {
    @ExcelProperty( value = "序号")
    private int index;
    @ExcelProperty(value = "标题")
    private String title;
    @ExcelProperty(value = "文章发布时间")
    private String titleTime;
    @ExcelProperty(value = "链接")
    private String href;
    @ExcelProperty(value = "开标日期")
    private String time;
    @ExcelProperty(value = "工程名称")
    private String project;
    @ExcelProperty(value = "建设单位")
    private String tender;
    @ExcelProperty(value = "中标单位")
    private String contract;
    @ExcelProperty(value = "代理机构")
    private String agent;
    @ExcelProperty(value = "中标价")
    private String price;
    /**
     * 忽略这个字段
     */
    @ExcelIgnore
    private String ignore;
}
